package com.arpa.ntocc.common.security.annotation;

import java.lang.annotation.*;

/**
 * 禁止重复提交注解
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface NoReSubmit {

    /**
     * Key 前缀
     * @return
     */
    String keyPrefix() default "NRS";

    /**
     * 提示消息
     *
     * @return
     */
    String msg() default "已提交,耐心点！";

}
